package com.shop.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@TableName(value = "cost")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Cost implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField(value = "wares_price")
    private double waresPrice;

    @TableField(value = "cost_message")
    private String costMessage;

    @TableField(value = "state")
    private Integer state;

    @TableField(value = "wares_id")
    private Long waresId;

    @TableField(value = "style_id")
    private Long styleId;

    @TableField(value = "is_delete")
    private Integer isDelete;

    @TableField(value = "remove_memo")
    private String removeMemo;

    @TableField(value = "remove_admin")
    private String removeAdmin;

    @TableField(value = "save_admin")
    private String saveAdmin;

    @TableField(value = "save_time")
    private String saveTime;

}
